package cn.ds.assets.module.assets.convert.projectMember;

import java.util.*;

import cn.ds.assets.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ds.assets.module.assets.controller.admin.projectMember.vo.*;
import cn.ds.assets.module.assets.dal.dataobject.projectMember.BaseProjectMemberDO;

/**
 * 项目成员 Convert
 *
 * @author admin
 */
@Mapper
public interface BaseProjectMemberConvert {

    BaseProjectMemberConvert INSTANCE = Mappers.getMapper(BaseProjectMemberConvert.class);

    BaseProjectMemberDO convert(BaseProjectMemberCreateReqVO bean);

    BaseProjectMemberDO convert(BaseProjectMemberUpdateReqVO bean);

    BaseProjectMemberRespVO convert(BaseProjectMemberDO bean);

    List<BaseProjectMemberRespVO> convertList(List<BaseProjectMemberDO> list);

    PageResult<BaseProjectMemberRespVO> convertPage(PageResult<BaseProjectMemberDO> page);

    List<BaseProjectMemberExcelVO> convertList02(List<BaseProjectMemberDO> list);

}
